<!DOCTYPE html>

<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    {%block refresh%}<meta http-equiv="refresh" content="120">{%endblock%}
    {%block title%}<title>基础模板</title>{%endblock%}
    <meta charset="utf-8">
    <link rel="shortcut icon" href={{url_for("static",filename="icon/icon.jpg")}}>
    <link rel="stylesheet" href={{url_for("static",filename="css/errorh.css")}}>
    {%block style%}
    <style>
        .card{
            background-color:seashell;
            padding-top: 50px;
            padding-bottom: 50px;
            padding-left: 50px;
            opacity: 0.5;
        }
        a{
            text-decoration: none;
        }
        body
        {
            background-image: url({{url_for("static",filename="img/83708256_p4.jpg")}});
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-size: cover;
        }
    </style>
    {%endblock%}

</head>


<body >
    <div class="header">
        {%block head1%}<h1>基础模板</h1>{%endblock%}
    </div>
    <div class="row">
    <div class="column">
        <p style="text-align: center;">{%block leftcolumn%}{%endblock%}</p>
    </div>
    <div class="column">

        <ul>
            {% for message in get_flashed_messages() %}
            <div class=flash><li><p>{{ message }}</p></li></div>
            {% endfor %} 
        </ul>
        
        <div class="card">
            <p style="text-align: center;">{%block middlecolumn%}{%endblock%}</p>
        </div>
    </div>
    <div class="column">
        <p style="text-align: center;">{%block rightcolumn%}{%endblock%}</p>
    </div>
    </div>
    <div class="footer">
        <a href={{url_for('root.index')}}>返回目录</a>
    </div>
</body>

</html>